#pragma once
#include<stdio.h>
#include<stdlib.h>
#include<time.h>
#include<string.h>
typedef struct Stack {
	int* a;
	int top;
	int capacity;
}ST;

void STInit(ST* ps);
void STPush(ST* ps,int x);
void STPop(ST* ps);
int STTop(ST* ps);
int STEmpty(ST* ps);


void Swap(int* a, int* b);

void ShellSort(int* a, int n);

void HeapSort(int* a, int n);

void InsertSort(int* a, int n);

void BubbleSort(int* a, int n);

void SelectSort(int* a, int n);

